#!/bin/bash

# Script to generate a sample PPT presentation for testing

# Ensure we have Maven installed
if ! command -v mvn &> /dev/null; then
    echo "Maven is not installed. Please install Maven first."
    exit 1
fi

# Compile the project
echo "Compiling project..."
mvn compile

# Run the sample generator
echo "Generating sample presentation..."
mvn exec:java -Dexec.mainClass="com.jboltai.pptextract.SamplePresentationGenerator"

echo "Done!"
